package com.sgb.kjwl.viewmodel.manage;

import androidx.fragment.app.Fragment;

import com.sgb.kjwl.repository.ManageRepertory;
import com.swgk.core.base.BaseViewModel;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 张驰
 * @date 2021/6/21 17:14
 * @Description 经营业绩下，企业服务板块
 * @name com.sgb.kjwl.viewmodel.manage
 */
public class EnterpriseServicesModel extends BaseViewModel {

    private ManageRepertory repertory;

    public EnterpriseServicesModel(ManageRepertory repertory){
      this.repertory = repertory;
    }



    public ArrayList<Fragment> mFragments = new ArrayList<>();

    public String[] gettabNames(String websiteType){

        switch (websiteType){

            case "0":

                return new String[]{"知产"};

            default:

                return new String[]{"服务","知产"};

        }

    }

}
